package com.xyazm.inventory.domain.param;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 取消订单释放商品库存
 * @Author: xuyou
 * @Date: 2022/6/30 16:51
 */
@Data
public class ReleaseProductStockParam implements Serializable {

    /**
     * 订单编号
     */
    private String orderId;

    /**
     * 订单包含的sku list
     */
    private List<OrderItemParam> orderItemParamList;

    @Data
    public static class OrderItemParam implements Serializable {

        private static final long serialVersionUID = 6870559288334853954L;

        /**
         * 商品sku编号
         */
        private String skuCode;

        /**
         * 销售数量
         */
        private Integer saleQuantity;

    }

}
